package cn.bdqn.hospital.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 订单总表实体类
 */
public class OrderAll implements Serializable {

    /**
     * 总账单id
     */
    private Integer ddzId;
    /**
     * 账单日期
     */
    private LocalDateTime dateNo;
    /**
     * 金额
     */
    private Double money;
    /**
     * 医生id
     */
    private Integer ygId;
    /**
     * 患者id
     */
    private Integer hzId;

    /**
     * 无参构造函数
     */
    public OrderAll(){
    }

    /**
     * 有参构造函数
     * @param dateNo 账单日期
     * @param money 金额
     * @param ygId 医生id
     * @param hzId 患者id
     */
    public OrderAll(LocalDateTime dateNo, Double money, Integer ygId, Integer hzId) {
        this.dateNo = dateNo;
        this.money = money;
        this.ygId = ygId;
        this.hzId = hzId;
    }

    /**
     * 有参构造函数
     * @param ddzId 账单id
     * @param dateNo 账单日期
     * @param money 金额
     * @param ygId 医生id
     * @param hzId 患者id
     */
    public OrderAll(Integer ddzId, LocalDateTime dateNo, Double money, Integer ygId, Integer hzId) {
        this.ddzId = ddzId;
        this.dateNo = dateNo;
        this.money = money;
        this.ygId = ygId;
        this.hzId = hzId;
    }

    /**
     * Get 账单id
     */
    public Integer getDdzId(){
        return ddzId;
    }

    /**
     * Set 账单id
     */
    public void setDdzId(Integer value){
        this.ddzId = value;
    }

    /**
     * Get 账单日期
     */
    public LocalDateTime getDateNo(){
        return dateNo;
    }

    /**
     * Set 账单日期
     */
    public void setDateNo(LocalDateTime value){
        this.dateNo = value;
    }

    /**
     * Get 金额
     */
    public Double getMoney(){
        return money;
    }

    /**
     * Set 金额
     */
    public void setMoney(Double value){
        this.money = value;
    }

    /**
     * Get 医生id
     */
    public Integer getYgId(){
        return ygId;
    }

    /**
     * Set 医生id
     */
    public void setYgId(Integer value){
        this.ygId = value;
    }

    /**
     * Get 患者id
     */
    public Integer getHzId(){
        return hzId;
    }

    /**
     * Set 患者id
     */
    public void setHzId(Integer value){
        this.hzId = value;
    }

    /**
     * 重写toString方法
     * @return
     */
    @Override
    public String toString() {
        return "OrderAll{" +
                "ddzId=" + ddzId +
                ", dateNo=" + dateNo +
                ", money=" + money +
                ", ygId=" + ygId +
                ", hzId=" + hzId +
                '}';
    }
}
